plat/arm: Move norflash driver to drivers/ folder
authorAntonio Nino Diaz <[email protected]>
Wed, 10 Oct 2018 10:14:44 +0000 (11:14 +0100)
committerAntonio Nino Diaz <[email protected]>
Wed, 10 Oct 2018 10:14:44 +0000 (11:14 +0100)
commitaa7877c4bf68fa6ad6813323f659b82355acaab5
tree7d575519c0c9536d062fc5cf3cc0cbe426f17060
parent3d3619c6dfcfd79685b92eb1190fbb1968a7d217
plat/arm: Move norflash driver to drivers/ folder

This way it can be reused by other platforms if needed.

Note that this driver is designed to work with the Versatile Express NOR
flash of Juno and FVP. In said platforms, the memory is organized as an
interleaved memory of two chips with a 16 bit word.

Any platform that wishes to reuse it with a different configuration will
need to modify the driver so that it is more generic.

Change-Id: Ic721758425864e0cf42b7b9b04bf0d9513b6022e
Signed-off-by: Antonio Nino Diaz <[email protected]>
13 files changed:
drivers/cfi/v2m/v2m_flash.c [new file with mode: 0644]
include/drivers/cfi/v2m_flash.h [new file with mode: 0644]
include/plat/arm/board/common/drivers/norflash.h [deleted file]
plat/arm/board/common/board_common.mk
plat/arm/board/common/drivers/norflash/norflash.c [deleted file]
plat/arm/board/fvp/platform.mk
plat/arm/board/fvp/sp_min/sp_min-fvp.mk
plat/arm/board/juno/platform.mk
plat/arm/board/juno/sp_min/sp_min-juno.mk
plat/arm/board/sgi575/platform.mk
plat/arm/board/sgm775/platform.mk
plat/arm/common/arm_err.c
plat/arm/common/arm_nor_psci_mem_protect.c